package com.qf.day10;

public class HeroDemo {
    public static void main(String[] args) {
        Hero hero1= new Hero("亚索", 500, 10);
        Hero hero2= new Hero("亚索", 500, 10);
        System.out.println(hero1.equals(hero2));
        String s1="hellp";
        String s2="hellp";
        System.out.println(s1.hashCode());
        System.out.println(s2.hashCode());
    }
}
